package com.hk.file;

import com.hk.action.Action;
import com.hk.action.ActionFactory;

public class FileFactory implements ActionFactory {

private static FileFactory factory;
	
	public static FileFactory getInstance(){
		if(factory==null){
			factory=new FileFactory();
		}
		return factory;
	}
		public Action getAction(String command){
			command="fileupload";
		Action action=null;
			if(command.equalsIgnoreCase("fileupload")){
			action=new FileUpLoadAction();
			
		}
		
		return action;
	}//
	
}
